package cn.kimming.wms.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.kimming.wms.dao.IChartDAO;
import cn.kimming.wms.query.OrderChartQueryObject;
import cn.kimming.wms.query.SaleChartQueryObject;
import cn.kimming.wms.service.IChartService;
import cn.kimming.wms.vo.OrderChartVO;
import cn.kimming.wms.vo.SaleChartVO;

@Service("chartService")
public class ChartServiceImpl implements IChartService{
	
	@Autowired
	private IChartDAO chartDAO;
	
	
	@Override
	public List<OrderChartVO> queryOrderChart(OrderChartQueryObject qo) {
		return chartDAO.queryOrderChart(qo);
	}


	@Override
	public List<SaleChartVO> querySaleChart(SaleChartQueryObject qo) {
		return chartDAO.querySaleChart(qo);
	}
	
}
